package com.df.ez_game.business.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
//@Retention(RetentionPolicy.RUNTIME)
@Component
@Retention(RetentionPolicy.RUNTIME)
public @interface EzController {
    String name() default "";

    String desc() default "" ;
    int id();
    int version() default 0;

    /**
     * 是否只对内部系统开放
     * @return
     */
    boolean internal() default false;
}
